#include "G4VSensitiveDetector.hh"

class G4HCofThisEvent;
class G4TouchableHistory;
class KSADHitsCollection;

class KSADRearDetector : public G4VSensitiveDetector
{
	public:
		KSADRearDetector(G4String);
		~KSADRearDetector();

		void Initialize(G4HCofThisEvent *);
		void EndOfEvent(G4HCofThisEvent *);

	protected:
		G4bool ProcessHits(G4Step *, G4TouchableHistory *);

	private:
		KSADHitsCollection*	hitsCollection;
};
